package cn.tedu.qxhouserent.house.serviceTest;

import cn.tedu.qxhouserent.house.mapper.HouseMapper;
import cn.tedu.qxhouserent.house.pojo.vo.HouseListItemVO;
import cn.tedu.qxhouserent.house.service.HouseService;
import cn.tedu.qxhouserent.house.service.NewsCategoryService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;
@SpringBootTest
public class c {
    @Autowired
    private NewsCategoryService service;
    @Autowired
    HouseMapper houseMapper;

    @Test
    public void s() {
//        List<HouseListItemVO> l = houseMapper.list();
        System.out.println(service.cha(2L).toArray());
//        System.out.println(l);
    }
}
